#ifndef __USART1_H__
#define __USART1_H__
#include "Usart_config.h"

#if USE_USART_1
#include "stm32f4xx.h"
#include <stdio.h>

void Usart1_init();
void Usart1_send_byte(uint8_t data);
void Usart1_send_data(uint8_t* data, uint32_t len);
void Usart1_send_string(uint8_t* data);

#if USE_USART1_RECIVE
extern void Usart1_on_recv(uint8_t* data, uint32_t len);
#endif 

#endif
#endif